7727d1edd354cef5507701322748ece0e17e5d00,VUE2/src/tufts/vue/ds/XMLIngest.java,XMLIngest,ingestXML,#InputSource#String#,205

Before Change


        //errout("xmlEncoding: " + doc.getXmlEncoding());
        //errout("xmlVersion: " + doc.getXmlVersion());
        errout("docType: " + Util.tags(doc.getDoctype()));
        errout("impl: " + Util.tags(doc.getImplementation().getClass()));
        errout("docElement: " + Util.tags(doc.getDocumentElement().getClass())); // toString() can dump whole document!
        //out("element: " + Util.tags(doc.getDocumentElement()));

After Change


        final Document doc = parseXML(input, false);

        //doc.normalizeDocument();
        if (DEBUG.DR) {
            errout("GOT DOC " + Util.tag(doc) + " " + doc);
            //errout("InputEncoding: " + doc.getInputEncoding()); // AbstractMethodError ?
            //errout("xmlEncoding: " + doc.getXmlEncoding());
            //errout("xmlVersion: " + doc.getXmlVersion());
            errout("docType: " + Util.tags(doc.getDoctype()));
            errout("impl: " + Util.tags(doc.getImplementation().getClass()));
            errout("docElement: " + Util.tags(doc.getDocumentElement().getClass())); // toString() can dump whole document!
        }
        //out("element: " + Util.tags(doc.getDocumentElement()));

        //outln("<?xml version=\"1.0\" encoding=\"UTF-8\" ?>");
        //outln("<!-- created by RSSTest " + new Date() + " from " + src + " -->");

        if (false)
            XPathExtract(schema, doc);
        else
            scanNode(schema, doc.getDocumentElement(), null, null);

        if (DEBUG.DR) schema.dumpSchema(System.err);
        return schema;
    }